package com.alibabacloud.polar_race.engine.directio;

/**
 * Constants for {@link DirectIOLib#oDirectOpen(String, boolean)}. </p>
 */
public final class OpenFlags {
    public static final int O_RDONLY = 00;
    public static final int O_WRONLY = 01;
    public static final int O_RDWR = 02;
    public static final int O_CREAT = 0100;
    public static final int O_TRUNC = 01000;
    public static final int O_DIRECT = 040000;
    public static final int O_SYNC = 04000000;

    private OpenFlags() {}
}
